package com.core.reach.cloudhub.service;

import java.math.BigDecimal;

/**
 * @author ga.zhang
 * @version V1.0
 * @description: TODO
 * @date 2020/4/1 16:05
 **/
public interface AccountService {

    /**
     * 减余额
     * @param userId 用户编号
     * @param money 金额
     * @return Boolean
     */
    Boolean reduceAccount(Long userId, BigDecimal money);

}
